package com.easyaop.asm.bytecode.asm;

import lombok.Getter;
import org.objectweb.asm.ClassVisitor;

public class ReadNameClassVisitor extends ClassVisitor {
    @Getter
    private String className;
    public ReadNameClassVisitor(int api, ClassVisitor classVisitor) {
        super(api, classVisitor);
    }

    @Override
    public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) {
        super.visit(version, access, name, signature, superName, interfaces);
        className=name;
    }
}
